package smartcommunityserver.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import smartcommunityserver.bean.CarCountBean;
import smartcommunityserver.mapper.CarCountMapper;
import smartcommunityserver.service.TrafficChannelStatsService;

import java.util.List;
@Service
public class TrafficChannelStatsServiceImpl implements TrafficChannelStatsService {

    @Autowired
    CarCountMapper carCountMapper;

    @Override
    public List<CarCountBean> getCarCount() {
        return carCountMapper.carCountMapper();
    }
}
